package com.qidian.buy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qidian.buy.entity.Category;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @Author 郭浩
 */
public interface CategoryMapper extends BaseMapper<Category> {
    List<Category> queryByPage(@Param("start") int start, @Param("limit") int limit, @Param("cate") Category cate);
    int queryCount(Category cate);
}
